<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%> 

<script type="text/javascript">
function changeContent(t, v) {
	if (t == 0) {
		document.getElementById("frame_content").contentWindow.location.href= "indexAction!findByTypeAndGroup.action?typeId=" + v;
	} else {
		document.getElementById("frame_content").contentWindow.location.href= "indexAction!findByTypeAndGroup.action?groupId=" + v;
	}
}
 
</script>
<table width="175" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
        <tr>
          <td width="175" height="38"><img src="images/cxfl.jpg" alt="" width="175" height="38" /></td>
        </tr>
        <tr>
          <td height="69" align="center" style=" border-left:1px solid #F57301; border-right:1px solid #F57301;">
          <table width="162" border="0" cellspacing="0" cellpadding="0">
	
		<s:iterator value="bisTypes" id="bisType" status="st">
			  <!-- 分类头 -->    
		  <tr>
		    <td width="21" height="36" align="center" style="border-bottom:1px solid #D7D7D7;"  onClick='showsubmenu(<s:property value="#st.index"/>)'><img src="images/dian3.jpg" width="6" height="9" /></td>
		    <td width="141" align="left" style="border-bottom:1px solid #D7D7D7;" onClick='showsubmenu(<s:property value="#st.index"/>)'><a href="javascript:changeContent(0, ${bisType.id});"><span class="STYLE9" style="cursor: hand;"><strong><s:property value="#bisType.name"/></strong></span></a> </td>
		  </tr>
		  
		  <!-- 分组 -->
		  <tr id='submenu${st.index}' >
		    <td width="21"></td>
		    <td width="141" align="left" >
		    	<table width="114"  border="0" cellpadding="0" cellspacing="0">
		    	<s:iterator value="#bisType.bisGroupList" id="group" >
		       <tr>
		         <td width="14" height="22" align="left"><img src="images/leftb.jpg" width="10" height="9" /></td>
		         <td width="100"><a href="javascript:changeContent(1, ${group.id});"><s:property value="#group.name"/></a></td>
		       </tr>
		      </s:iterator>
		       </table>
		    </td>
		  </tr>
		</s:iterator>

    </table></td>
        </tr>
        <tr>
          <td height="10"><img src="images/left_end.jpg" width="175" height="10" /></td>
        </tr>
</table>

<s:if test="#session.userObject != null">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><img src="images/line4.jpg" width="5" height="14" /></td>
    </tr>
  </table>
  <table width="175" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
    <tr>
      <td width="175" height="38"><img src="images/wdzh.jpg" alt="" width="175" height="38" /></td>
    </tr>
    <tr>
      <td height="69" align="center" style=" border-left:1px solid #F57301; border-right:1px solid #F57301;"><table width="162" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="21" height="36" align="center" style="border-bottom:1px solid #D7D7D7;"><img src="images/dian3.jpg" width="6" height="9" /></td>
            <td width="141" align="left" style="border-bottom:1px solid #D7D7D7;"><a href="userRegister!toShowUserInfoPage.action"  target="frame_content"><span class="STYLE9"><strong>我的名片</strong></span></a></td>
          </tr>
          <tr>
            <td width="21" height="36" align="center" style="border-bottom:1px solid #D7D7D7;"><img src="images/dian3.jpg" width="6" height="9" /></td>
            <td width="141" align="left" style="border-bottom:1px solid #D7D7D7;"><a href="dmAction!toBeadrollSearchPage.action"  target="frame_content"><span class="STYLE9"><strong>名录搜索</strong></span></a></td>
          </tr>
          <tr>
            <td width="21" height="36" align="center" style="border-bottom:1px solid #D7D7D7;"><img src="images/dian3.jpg" width="6" height="9" /></td>
            <td width="141" align="left" style="border-bottom:1px solid #D7D7D7;"><a href="accManagerAction!doMyAccount.action" target="frame_content"><span class="STYLE9"><strong>账号管理</strong></span></a></td>
          </tr>
          <tr>
            <td width="21" height="36" align="center" style="border-bottom:1px solid #D7D7D7;"><img src="images/dian3.jpg" width="6" height="9" /></td>
            <td width="141" align="left" style="border-bottom:1px solid #D7D7D7;"><a href="sysMsgAction!toEnterSysMsgList.action" target="frame_content"><span class="STYLE9"><strong>系统消息</strong></span></a></td>
          </tr>
          <tr>
            <td width="21" height="36" align="center" style="border-bottom:1px solid #D7D7D7;"><img src="images/dian3.jpg" width="6" height="9" /></td>
            <td width="141" align="left" style="border-bottom:1px solid #D7D7D7;"><a href="userRegister!toEnterModUserPwd.action" target="frame_content"><span class="STYLE9"><strong>密码管理</strong></span></a></td>
          </tr>
      </table></td>
    </tr>
    <tr>
      <td height="10"><img src="images/left_end.jpg" width="175" height="10" /></td>
    </tr>
  </table>
</s:if>
